<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>文本字体样式</title>
	<style type="text/css">
		.text{
			width: 300px;
			height: 50px;
			border: 1px solid #000;
			color: #A349A4;
			line-height: 50px;
			text-align: center;
			font-size: 28px;
			font-family: "微软雅黑";

		}
		a{
			text-decoration: none;
		}
	</style>
</head>
<body>
	<p class="text">这个是一个p标签</p>
	<a href="">这个是一个a</a>
</body>
</html>